package com.edu.oma.protocol;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


@EnableTransactionManagement
@ComponentScan(basePackages = "com.edu.oma.protocol")
@ImportResource("classpath:spring-quartz.xml")
@SpringBootApplication
@EnableWebMvc
@MapperScan(basePackages = {"com.edu.oma.protocol.mapper"})
public class Application {

    public static void main(String args[]) {
            SpringApplication.run(Application.class, args);
    }

}
